package com.msy.mai.framework.elasticsearch.configuration;

import com.msy.mai.common.core.factory.YmlPropertySourceFactory;
import org.dromara.easyes.starter.config.EasyEsConfigProperties;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * 项目es 配置类
 * @author Wang
 * @version 1.0
 * @Date 2024/10/28 下午2:15
 */
@AutoConfiguration
@EnableConfigurationProperties(EasyEsConfigProperties.class)
@PropertySource(value = "classpath:common-elasticsearch.yml", factory = YmlPropertySourceFactory.class)
public class ElasticsearchAutoConfiguration {
}
